package com.beamfield.dao.sys;

import com.beamfield.model.Project;
import com.beamfield.model.ProjectExample;
import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface ProjectMapper {
    int deleteByPrimaryKey(@Param("projectId") String project_id,@Param("beamId") Long beamId);

    int insert(Project record);

    int insertSelective(Project record);

    List<Project> selectByExample(ProjectExample example);

    Project selectByPrimaryKey(@Param("projectId") long project_id,@Param("beamId") Long beamId);

    int updateByPrimaryKeySelective(Project record);

    int updateByPrimaryKey(Project record);

    List<Project> selectByBeamId(@Param("beamid")Long beamId);
}